# Maintainer: Benedikt Bitterli <benedikt.bitterli@gmail.com>

_realname=tinyformat
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.0.1
pkgrel=1
pkgdesc="A minimal type safe printf() replacement (mingw-w64)"
arch=('any')
license=('boost')
url="https://github.com/c42f/tinyformat"
source=(${_realname}-${pkgver}.tar.gz::"https://github.com/c42f/tinyformat/archive/Release-${pkgver}.tar.gz")
sha256sums=('5f69675ea24657cb9898940be38712564f90c2d388014bc6bbb75fda1e556dbc')

package() {
  cd "${srcdir}/${_realname}-Release-${pkgver}"
  install -Dm644 tinyformat.h "${pkgdir}${MINGW_PREFIX}/include/tinyformat.h"
}
